package com.nbstar.film.spider.domain;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.util.Date;

@Data
public class ProxyInfo {
    private int check_count ;
    private int fail_count ;
    private int last_status;
    private Date last_time;
    private String proxy;
    private String region;
    private String source;
    private String type;

    public String getProxy() {
        return  proxy;
    }

    public void setProxy(String proxy) {
        this.proxy = proxy;
    }

    @Override
    public String toString() {
        return "ProxyInfo{" +
                "check_count=" + check_count +
                ", fail_count=" + fail_count +
                ", last_status=" + last_status +
                ", last_time=" + last_time +
                ", proxy='" + proxy + '\'' +
                ", region='" + region + '\'' +
                ", source='" + source + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
